﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Money.Data;

namespace Money.Interfaces
{
    public interface IAccountTypeService
    {
        List<AccountType> GetAccountTypes();
        AccountType GetAccountTypeById(int id);
        void CreateAccountType(AccountType item);
        void DeleteAccountType(int id);
        void UpdateAccountType(AccountType item);
        List<AccountType> GetAccountTypes(string orderBy, string orderDirection, int page, int pageSize, out int totalRecords);
        bool CanDelete(int id);
    }
}
